﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using Chess.Server.ViewModel;

namespace Chess.Server
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private void OnStartup(object sender, StartupEventArgs e)
        {
            var mainWindowView = new MainWindow();
            var viewModel = new MainWindowViewModel(Dispatcher);
            mainWindowView.DataContext = viewModel;
            mainWindowView.Show();
        }
    }
}
